using System;
using System.Collections.Generic;
using System.Text;
using TimeTabling.Core;

namespace Seas.Core
{
	public class Teacher : Basic
	{
		public int DNI
        { get; set; }

		public int Name
        { get; set; }

		public string Surname
        { get; set; }


		public string Description
        { get; set; }

        public Center Center
        { get; set; }

        public Branch Branch
        { get; set; }


        public IList<Availability> availability { get; set; }
        public IList<Availability> Availability
        {
            get
            {
                if (availability == null)
                {
                    availability = new List<Availability>();
                }
                return availability;
            }
            set
            {
                availability = value;
            }
        }

        public IList<Subject> subject { get; set; }
        public IList<Subject> Subject
        {
            get
            {
                if (subject == null)
                {
                    subject = new List<Subject>();
                }
                return subject;
            }
            set
            {
                subject = value;
            }
        }
	}
}
